package com.application.validate.order;

import com.application.validate.ApiValidator;
import com.jfinal.core.Controller;


public abstract class PreValidator extends ApiValidator {

    @Override
    protected void validate(Controller c) {
        if (c.getAttr("items") == null) {
            addError("参数错误");
            return;
        }
//        vali(c.getAttr("items"), c);
    }

//    protected abstract void vali(List<ProductItem> items, Controller c);
}
